#include <iostream>

using namespace std;

int main ()
{
    for ( int i = 0; i < 10; i++ )
    {
        cout << i << " squared is " << i *i << endl;
    }
}
